package com.lagou.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UsersDao {

    /**
     * 插入数据
     */
    @Insert("insert into users(username,password,address) values(#{username},#{password},#{address})")
    void insertUsers(@Param("username") String username,@Param("password") String password,@Param("address") String address);
}
